/**
 * 文件传输页面样式
 */

/* 主容器布局 */
.main-container {
  margin-left: 60px; /* 侧边栏宽度 */
  margin-top: 38px; /* 标题栏高度 */
  height: calc(100vh - 38px);
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}

/* 文件浏览器容器 */
.file-browser-container {
  display: flex;
  flex: 1;
  gap: 10px;
  padding: 10px;
  overflow: hidden;
}

/* 文件面板 */
.file-panel {
  flex: 1;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.panel-header {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  background: #fafafa;
}

.panel-header h3 {
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.panel-toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
}

.path-input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  background: white;
}

.btn-icon {
  padding: 6px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: #f0f0f0;
  border-color: #999;
}

/* 文件列表 */
.file-list {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.file-list-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 100px;
  gap: 10px;
  padding: 10px 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  font-weight: 600;
  font-size: 13px;
  color: #666;
}

.file-list-body {
  flex: 1;
  overflow-y: auto;
}

/* 传输队列容器 */
.transfer-queue-container {
  background: white;
  border-top: 1px solid #e0e0e0;
  max-height: 300px;
  display: flex;
  flex-direction: column;
}

.queue-header {
  padding: 12px 15px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.queue-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.queue-stats {
  font-size: 13px;
  color: #666;
}

.queue-actions {
  display: flex;
  gap: 8px;
}

.btn-small {
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}

.btn-small:hover {
  background: #f0f0f0;
  border-color: #999;
}

/* 传输过滤器 */
.transfer-filter {
  padding: 10px 15px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.filter-tabs {
  display: flex;
  gap: 5px;
}

.filter-tab {
  padding: 5px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s;
}

.filter-tab:hover {
  background: #f0f0f0;
}

.filter-tab.active {
  background: #1890ff;
  color: white;
  border-color: #1890ff;
}

/* 传输列表 */
.transfer-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 15px;
}
